﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Architecture.Domain.TestModel.Samples
{
    [DataContract]
    public class Organisation
    {
        public Organisation()
        {
            this.Nodes = new List<Node>();
        }

        [DataMember]
        public Guid Id { get; set; }

        [DataMember]
        public String Name { get; set; }

        [DataMember]
        public Guid? ParentId { get; set; }

        [DataMember]
        public virtual List<Node> Nodes { get; set; }
    }
}
